package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 积分规则表的增删改查对象 intergal_rule
 * 
 * @author ruoyi
 * @date 2023-02-19
 */
public class IntergalRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 针对学院 */
    @Excel(name = "针对学院")
    private Long deptId;

    /** 德育必修 */
    @Excel(name = "德育必修")
    private Long moralityYes;

    /** 德育选修 */
    @Excel(name = "德育选修")
    private Long moralityNo;

    /** 智育必修 */
    @Excel(name = "智育必修")
    private Long intelligenceYes;

    /** 智育选修 */
    @Excel(name = "智育选修")
    private Long intelligenceNo;

    /** 体育必修 */
    @Excel(name = "体育必修")
    private Long sportYes;

    /** 体育选修 */
    @Excel(name = "体育选修")
    private Long sportNo;

    /** 美育必修 */
    @Excel(name = "美育必修")
    private Long artYes;

    /** 美育选修 */
    @Excel(name = "美育选修")
    private Long artNo;

    /** 劳育必修 */
    @Excel(name = "劳育必修")
    private Long workYes;

    /** 劳育选修 */
    @Excel(name = "劳育选修")
    private Long workNo;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setMoralityYes(Long moralityYes) 
    {
        this.moralityYes = moralityYes;
    }

    public Long getMoralityYes() 
    {
        return moralityYes;
    }
    public void setMoralityNo(Long moralityNo) 
    {
        this.moralityNo = moralityNo;
    }

    public Long getMoralityNo() 
    {
        return moralityNo;
    }
    public void setIntelligenceYes(Long intelligenceYes) 
    {
        this.intelligenceYes = intelligenceYes;
    }

    public Long getIntelligenceYes() 
    {
        return intelligenceYes;
    }
    public void setIntelligenceNo(Long intelligenceNo) 
    {
        this.intelligenceNo = intelligenceNo;
    }

    public Long getIntelligenceNo() 
    {
        return intelligenceNo;
    }
    public void setSportYes(Long sportYes) 
    {
        this.sportYes = sportYes;
    }

    public Long getSportYes() 
    {
        return sportYes;
    }
    public void setSportNo(Long sportNo) 
    {
        this.sportNo = sportNo;
    }

    public Long getSportNo() 
    {
        return sportNo;
    }
    public void setArtYes(Long artYes) 
    {
        this.artYes = artYes;
    }

    public Long getArtYes() 
    {
        return artYes;
    }
    public void setArtNo(Long artNo) 
    {
        this.artNo = artNo;
    }

    public Long getArtNo() 
    {
        return artNo;
    }
    public void setWorkYes(Long workYes) 
    {
        this.workYes = workYes;
    }

    public Long getWorkYes() 
    {
        return workYes;
    }
    public void setWorkNo(Long workNo) 
    {
        this.workNo = workNo;
    }

    public Long getWorkNo() 
    {
        return workNo;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("moralityYes", getMoralityYes())
            .append("moralityNo", getMoralityNo())
            .append("intelligenceYes", getIntelligenceYes())
            .append("intelligenceNo", getIntelligenceNo())
            .append("sportYes", getSportYes())
            .append("sportNo", getSportNo())
            .append("artYes", getArtYes())
            .append("artNo", getArtNo())
            .append("workYes", getWorkYes())
            .append("workNo", getWorkNo())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
